-- CALC_SUIT_5_PROP

-- 计算暗影套装的基础属性
-- @param user 玩家对象
-- @param suitId 套装id
return function(user, suitId)
    -- 暗影套装的基础属性
    local props =  {{200, "attack", 8, -1,}, {200, "max_hp", 80, -1,}, {571,15,1,1,},};

    local prop = PropM.combine(user, "talent_suit", suitId);
    if prop[3] > 0 then
        -- 天赋附加的属性：对有生命的敌人造成额外伤害
        local value = FormulaM.invoke("GET_TALENT_ADD_EQUIPS_VALUE", "suit", suitId, prop[3]);
        props = {{200, "attack", 8, -1,}, {200, "max_hp", 80, -1,}, {571,15,1,-1,}, {533, value[1],value[2],1,},};
    end

    return props;
end